package com.bohua.child.entity;

import lombok.Builder;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;
/**
 * 请假表
 * @author shichenyang
 * @email gyv12345@163.com
 * @date 2019/01/17
 */
@Data
public class Leave implements Serializable {
        /**
         * 学生证号
         */
        private Integer studentId;
        /**
         * 0 未请假 1 请假中
         */
        private Integer sate;
        /**
         * 请假开始
         */
        @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
        private Date leaveStart;
        /**
         * 请假结束
         */
        @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
        private Date leaveEnd;
}
